home *** CD-ROM | disk | FTP | other *** search
/ Stolen Data 3 / Stolen Data 3.adf / MAG-TEXT / CODE6a < prev    next >
Text File  |  1989-01-01  |  1KB  |  31 lines

  1. exists  a  utility by TURBO SLUG of THR
  2. which   takes   a   normal  screen  and
  3. converts  it  into this format for you.
  4. I  however  prefer  to  use  a standard
  5. screen  layout  (320  pixels  wide) IFF
  6. converted  to  the  modulo format, such
  7. that  every  line  of the font contains
  8. one  line  from  each  bitplane  of the
  9. original  font.   In  this  way a whole
  10. character  can  be  blitted in a single
  11. operation.   To use this format of font
  12. requires  a  reference  table  however,
  13. pointing   to   the   start   of  every
  14. character  in  the  font.   To see this
  15. method  in  action, I suggest you study
  16. the source.
  17.     In  either  method  we  must  first
  18. convert  ascii  into  a  usable format.
  19. Most fonts lack lower case letters, but
  20. I prefer to type scrolltext into a text
  21. editor naturally, so we want to convert
  22. lower  into  upper  case.   To  do this
  23. compare   the  code  with  hex  5c,  if
  24. greater than this then subtract hex 20.
  25. It  is customary to have the space with
  26. ascii  code  hex  20  (32) as the first
  27. character  in  a  font,  the  remainder
  28. following   in   their   natural  ascii
  29. sequence  so  subtract  hex 20 from the
  30. code.   If  using  a reference table we
  31.